package Watcher.video;

import javax.swing.SwingUtilities;

public class YouTubePlayer extends Player {

	public YouTubePlayer() {
		super();
		mediaPlayer.setPlaySubItems(true);
	}

	public static void start(final String link) {
		SwingUtilities.invokeLater(new Runnable() {
			@Override
			public void run() {
				new YouTubePlayer().startVideo(link);
			}
		});
	}

}
